<?php 
$op = $_GET['name'];
$arr = array('lisi','wangwu');
echo in_array($op,$arr) ? 1 : 0;